package com.systop.asset.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.systop.asset.entity.MaterialTransferDetail;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class MaterialTransferDetailVo {
    private Long id;
    /**
     * 调拨单号
     */
    private String orderNo;
    /**
     * 调出仓库ID
     */
    private Long fromWarehouseId;
    private String fromName;

    /**
     * 调入仓库ID
     */
    private Long toWarehouseId;
    private String toName;
    /**
     * 状态 0-待调拨 1-部分调拨 2-已完成 3-已取消
     */
    private Long status;
    /**
     * 操作人Id
     */
    private Long operatorId;
    /**
     * 操作人
     */
    private String operator;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**调拨耗材列表详情*/
    private List<MaterialTransferDetail> mtdList;
}
